package gmusic.command;

import gmusic.mb.services.impl.MusicBrainzServicesImpl;

import javax.servlet.http.HttpServletRequest;

public class AjouterArtisteMB implements Command {

	// private final static Logger log =
	// Logger.getLogger(AjouterArtisteMB.class);

	public String execute(HttpServletRequest req) throws Exception {

		String ambid = req.getParameter("ambid");
		MusicBrainzServicesImpl.getInstance()
				.getAllArtistDataFromWebServicesAndSave(ambid);

		return new AfficherArtistsMB().execute(req);
	}
}
